{extend name="Home/Theme/Theme1/base" /}

{block name="meta"}
<meta name="keywords" content="{$param['SearchForm']}">
<meta name="description" content="{$param['SearchForm']}">
{/block}

{block name="title"}内容搜索_{/block}

<!--{block name="search"}-->
<!--  <input name="nav_id" type="hidden" />-->
<!--  <input name="search" size="11" id="edtSearch" type="text" value="{$param['search']}">-->
<!--{/block}-->
{block name="main"}
<header class="intro-header" style="background-image: url(&#39;/&#39;)">
	<div class="container">
		<div class="row">
			<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
				<div class="site-heading">
					<h1>{$title}</h1>
					<span class="subheading"></span>
				</div>
			</div>
		</div>
	</div>
</header>
<div class="container">
	<div class="row">
		<div class="
                col-lg-8 col-lg-offset-1
                col-md-8 col-md-offset-1
                col-sm-12
                col-xs-12
                postlist-container
            ">
			<h3 id="blogs">Blogs</h3>
			<hr>
			{volist name="datas['datas']" id="data" empty="暂时没有数据"}
			<div class="post-preview">
				<font color="blue">{$data['update_time']}</font>
				<a target="_blank" href="/articles/{$data['id']}.html">{$data['name']}</a>
			</div>
			<hr>
			{/volist}

			{include file="Home/Theme/Theme1/page" /}
		</div>

		{include file="Home/Theme/Theme1/news" /}
	</div>
</div>
{/block}
{block name="js"}
<script>
  $("#go").click(function(){
    let page = $("#goPage").val();
    if (page > 0 && page <= Number($(".num:last").text())) {
      location.href="{$url}?page="+page+"&{$datas['query']|raw}"
    }
  })
</script>
{/block}